import javax.swing.JPanel;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.JButton;


public class TreatmentRecordGUI extends JPanel {
    private JTextField textField;
    private JTextField textField_1;
    private JTextField textField_2;
    private JTextField textField_3;
    private JTextField textField_4;
    public TreatmentRecordGUI() {
        setLayout(null);
        
        JLabel lblNewLabel = new JLabel("Treating Doctor");
        lblNewLabel.setBounds(10, 11, 110, 14);
        add(lblNewLabel);
        
        textField = new JTextField();
        textField.setBounds(130, 8, 86, 20);
        add(textField);
        textField.setColumns(10);
        
        JButton btnBack = new JButton("Back");
        btnBack.setBounds(10, 266, 89, 23);
        add(btnBack);
        
        JButton btnEdit = new JButton("Add");
        btnEdit.setBounds(130, 266, 89, 23);
        add(btnEdit);
        
        textField_1 = new JTextField();
        textField_1.setBounds(130, 39, 86, 20);
        add(textField_1);
        textField_1.setColumns(10);
        
        JLabel lblDate = new JLabel("Date");
        lblDate.setBounds(10, 42, 46, 14);
        add(lblDate);
        
        textField_2 = new JTextField();
        textField_2.setBounds(130, 70, 86, 20);
        add(textField_2);
        textField_2.setColumns(10);
        
        JLabel lblTime = new JLabel("Time");
        lblTime.setBounds(10, 67, 46, 14);
        add(lblTime);
        
        JLabel lblSymptoms = new JLabel("Symptoms");
        lblSymptoms.setBounds(226, 11, 89, 14);
        add(lblSymptoms);
        
        JLabel lblVitals = new JLabel("Vitals");
        lblVitals.setBounds(228, 106, 46, 14);
        add(lblVitals);
        
        textField_3 = new JTextField();
        textField_3.setBounds(226, 39, 214, 56);
        add(textField_3);
        textField_3.setColumns(10);
        
        textField_4 = new JTextField();
        textField_4.setColumns(10);
        textField_4.setBounds(226, 127, 214, 56);
        add(textField_4);
    }
}
